<include file="Public:header" />
<!--邮件服务器设置-->
<div class="common-form">
    <form id="info_form" action="{:U('Setting/edit')}" method="post">
	<table width="100%" class="table_form contentWrap">
    	<tr class="y-bg">
        	<th width="150">{:L('mail_send_mode')} :</th>
        	<td>
            	<!--input type="radio" <if condition="$info['mode'] eq 'mail'">checked="checked"</if> value="mail" name="info[email][mode]"> {:L('mail_function_mode')} &nbsp;&nbsp;-->
            	<input type="radio" checked="checked" value="smtp" name="info[email][mode]"> {:L('smtp_mode')}
            </td>
    	</tr>
    </table>
    <table width="100%" class="table_form contentWrap">
        <tr>
        	<th width="150">{:L('smtp_host')} :</th>
        	<td><input type="text" name="info[email][host]" class="input-text" size="30" value="{$info.host}"></td>
    	</tr>
        <tr>
        	<th>{:L('smtp_port')} :</th>
        	<td><input type="text" name="info[email][port]" class="input-text" value="{$info.port}"></td>
    	</tr>
        <tr>
        	<th>{:L('smtp_from')} :</th>
        	<td><input type="text" name="info[email][from]" class="input-text" size="30" value="{$info.from}"></td>
    	</tr>
        <tr>
        	<th>{:L('smtp_auth_username')} :</th>
        	<td>
            	<input type="text" name="info[email][auth_username]" class="input-text" size="30" value="{$info.auth_username}">
            </td>
    	</tr>
        <tr>
        	<th>{:L('smtp_auth_password')} :</th>
        	<td><input type="password" name="info[email][auth_password]" class="input-text" size="30" value="{$info.auth_password}"></td>
    	</tr>
        <!--tr>
        	<th>{:L('test_email')} :</th>
        	<td>
            	<input type="text" id="J_email" class="input-text" size="30" value="">
            	<input type="button" id="J_mail_test" value="{:L('send_test_mail')}" class="btn">
                <span id="J_mail_test_tip"></span>
            </td>
    	</tr-->
        <tr>
        	<th></th>
        	<td><input type="hidden" name="menuid"  value="{$menuid}"/><input type="submit" class="btn btn_submit" value="{:L('submit')}"/></td>
    	</tr>
	</table>
	</form>
</div>
<include file="Public:footer" />
</body>
</html>